Search results

22 packages found

Declare a ruleset and return values based on the first match

published 1.0.0 8 years ago
M
Q
P

Declarative and functional switch supporting literals, functional tests, regular expressions, object patterns and routes

published 1.0.11 5 years ago
M
Q
P

Simple function switch.

published 1.0.1 8 years ago
M
Q
P

JavaScript functional implementation of switch/case written in TypeScript

published 0.8.0 5 years ago
M
Q
P

functional switch case alternative

published 1.1.0 6 years ago
M
Q
P

Pattern matching for JavaScript/TypeScript

published 0.1.3 8 years ago
M
Q
P

Conditional Logic: The Functional Way

published 0.1.0 5 years ago
M
Q
P

A functional switch-case statement (ad hoc polymorphism)

published 0.2.0 6 years ago
M
Q
P

A small, but fully featured, library that aims to replace `switch` case logic (mainly to aid with Functional Programming), with a simple declarative API for setting up a predefined map of cases, and choosing a result from it based on input.

published 3.0.2 4 years ago
M
Q
P
M
Q
P

"Almost" functional programming utils methods

published 0.2.1 6 years ago
M
Q
P

A javascript functional approach to switch and if-else statements

published 1.0.1 6 years ago
M
Q
P

A functional switch to replace switch statements

published 1.0.3 2 years ago
M
Q
P

Functional implementation of switch/case, inspired by Ruby case/when.

published 0.3.1 6 years ago
M
Q
P

An extensible, functional switch with a chainable API

published 1.1.2 6 years ago
M
Q
P

Javascript library for writing, chaining and using conditional statements in a functional way

published 1.0.16 2 years ago
M
Q
P

Match.js is a Javascript library like the 'switch' statement but it works as expression

published 1.0.1 2 years ago
M
Q
P

functional condition functions

published 0.0.3 2 years ago
M
Q
P

Alternative to JavaScript’s switch statement with a functional twist

published 0.0.5 2 years ago
M
Q
P

A functional approach to switches

published 0.0.7 a year ago
M
Q
P